<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>属性一览页面</title>
<link href="css/jimu.css" type="text/css" rel="stylesheet">
<style type="text/css">
#addAttr_attr_subtype_subtypeid {
	width:200px;
}
.errorMessage {
	color:red;
}
</style>
<script type="text/javascript">

</script>
</head>
<body>
<!-- 头部的包含文件 -->
<%@include file="../common/head.jsp" %>
<table>
	<tr>
		<td style="width:180px; vertical-align:top;">
		<%@ include file="../common/menu.jsp" %>
		</td>
		<td style="vertical-align:top;padding:0 10px;">
			<p>追加新属性<br></p>
			<s:actionerror/>
			<s:form action="addAttr.action" method="post" cssClass="formTbl" >
				<%--使用国际化资源 --%>
				<s:textfield name="attr.attrname" label="属性名称"/>
				<s:label id="chkAttrName" cssStyle="color:red;"></s:label>
				<s:doubleselect
					label="属性分类"
					cssStyle="width:200px;"
					list="superList" 
					name="attr.subType.supertype.supertypeid"
					listKey="supertypeid" 
					listValue="typename" 
					doubleList="subtypes" 
					doubleName="attr.subType.subtypeid"
					doubleListKey="subtypeid" 
					doubleListValue="subtypename" 
				/>
				<s:textfield name="attr.attrvalue" label="属性值"/>
				<s:submit value="提交"/>
				<s:reset value="重置"/>
			</s:form>
		</td>
	</tr>
</table>
<!-- 测试罢了 -->
</body></html>